package com.chenjiayan.dao;

import com.chenjiayan.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface OrderDao {
     void add(Order order);
     List<Order> findByCondition(Order order);
     Map findById4Detail(@Param("id") Integer id);
     Integer findOrderCountByDate(String date);
     Integer findOrderCountAfterDate(String date);
     Integer findVisitsCountByDate(String date);
     Integer findVisitsCountAfterDate(String date);
     List<Map> findHotSetmeal();
}
